//3.4 - A Simple Menu - Dirk Henkemans - Prima Publishing #include using namespace std; int main(void) { cout<<"Your party is adventuring " << "through hills outside of Que'll \n" <<"when suddenly you are " << "ambushed by rouges!!! \n \n"; int response = 0; do { cout << "What action would you like to take? \n" << " 1) Attack the evil rouges!!! \n" << " 2) Run from the onslaught \n" << " 3) Try to talk to the rouges \n"; cin>>response; } while (response < 1 || response > 3); if (response == 1) { cout << "The battle drags into the night " << "and by sunset no one knows \n" << "who is still alive!\n"; } else if (response == 2) { cout << "You run from the rouges into " << "the trees never to see them again.\n"; } else { cout<<"You try talking to them " << "but they seem unlikely to listen. \n" <<"They take all your money " << "and depart happy and you poor.\n "; } return 0; }